<?php

require_once BASE_PATH.'application/models/basedao'.EXT;

class caractsembarazada extends baseDAO {
	
	var $table = 'caracteristica_embarazada';
	
	var $sql   = '';

	function __construct()
	{
	    parent::__construct();
	}
	function _defaultSQL()
	{
		$this->db->select('id_caracteristica, id_embarazada');
	}
	
        function getCharacteristics($id_embarazada){

            $this->db->select('id_caracteristica');
            $this->db->where(array("id_embarazada ="=>$id_embarazada));
	    $query = $this->db->get($this->table);
	    return $query->result_array();
        }
        
}

?>